package junit.client;

import static org.junit.Assert.assertEquals;

import java.util.LinkedList;

import javax.swing.JFrame;

import moodish.client.MoodsWindow;

import org.junit.Test;

public class MoodsWindowTest {

	@Test
	public void test() {
		MoodsWindow window = new MoodsWindow(null, new LinkedList<String>(), "Window Name");
		assertEquals(MoodsWindow.class, window.getClass());
		assertEquals(JFrame.class, window.getFrame().getClass());
		window.update();
		window.close();		
	}

}
